package cn.cream4u.ksks.adPojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class AClass {
    int id;
    String className;
    String roomName;
    LocalDate startTime;
    LocalDate endTime;
    int headTeacher;
    LocalDateTime createTime;
    LocalDateTime updateTime;

    public AClass(int headTeacher, String className, String roomName, LocalDate startTime, LocalDate endTime) {
        this.headTeacher = headTeacher;
        this.className = className;
        this.roomName = roomName;
        this.startTime = startTime;
        this.endTime = endTime;
    }
}
